package com.sb.demo;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.util.List;

/**
 * Created by wujunzhou on 2017/10/18.
 */
public class test {
    public static void main(String[] args) {
        String str = "<!-- 代码中不应使用ID，否则会在页面中出现重复id -->\n" +
                "<ul class=\"sbcx-type\">\n" +
                "\t\t\t<li class=\"sbcx-biz-jbyanglao\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl\" title=\"基本养老保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-cxjmyanglao\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl\" title=\"城乡居民养老保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-gongshang\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy\" title=\"工伤保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-jbyiliao\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb\" title=\"基本医疗保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-cxjmyiliao\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb\" title=\"城乡居民医疗保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-shiye\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye\" title=\"失业保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-shengyu\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy\" title=\"生育保险\">&nbsp;</li>\n" +
                "\t\t<li class=\"sbcx-biz-jgjbyanglao\" data-uid=\"XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl\" title=\"机关事业养老保险\">&nbsp;</li>\n" +
                "\t\t <li class=\"sbcx-biz-grqyd\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd\" title=\"个人参保\">&nbsp;</li>\n" +
                "\t    <li class=\"sbcx-biz-yllncb\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb\" title=\"基本养老历年参保\"> </li>\n" +
                "\t    <li class=\"sbcx-biz-yldyff\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff\" title=\"养老待遇发放\"> </li>\n" +
                "\t    <li class=\"sbcx-biz-dwcb\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb\" title=\"单位参保\"> </li>\n" +
                "</ul>\n" +
                "<div class=\"sbcx-query\">\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy\" data-hasCondition=\"false\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy\">\n" +
                "\t</form>\n" +
                "\t<form class=\"sbcx-XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl\" data-hasCondition=\"false\" data-uid=\"XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl\" target=\"XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl\">\n" +
                "\t</form>\n" +
                "\t <form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd\" data-hasCondition=\"false\"\n" +
                "          data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd\">\n" +
                "    </form>\n" +
                "     <form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb\" data-hasCondition=\"false\"\n" +
                "          data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb\">\n" +
                "    </form>\n" +
                "     <form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff\" data-hasCondition=\"false\"\n" +
                "          data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff\">\n" +
                "    </form>\n" +
                "     <form class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb\" data-hasCondition=\"false\"\n" +
                "          data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb\" target=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb\">\n" +
                "    </form>\n" +
                "</div>\n" +
                "\n" +
                "<div class=\"sbcx-result\">\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yl\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">基本养老保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_grjbxx\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">在职参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>单位名称</th><td data-value=\"aab004\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-2\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_ylzh\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">在职年度个人账户</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"age_last_year\">年度</th>\n" +
                "\t\t\t\t<th data-field=\"age_last_balance\">截至上年末个人<br/>账户累计储存额</th>\n" +
                "\t\t\t\t<th data-field=\"age_last_jfys\">本年实际缴费月数</th>\n" +
                "\t\t\t\t<th data-field=\"age_curr_balance\">当年记账金额</th>\n" +
                "\t\t\t\t<th data-field=\"age_curr_lx\">当年记账利息</th>\n" +
                "\t\t\t\t<th data-field=\"age_lj_balance\">至本年末账户<br/>累计储存额</th>\n" +
                "\t\t\t\t<th data-field=\"age_lj_jfys\">至本年末<br/>实际缴费月数</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-3\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_yljf\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">个人缴费信息（近2年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"jfny\">缴费年月</th>\n" +
                "\t\t\t\t<th data-field=\"jfjs\">月缴费基数</th>\n" +
                "\t\t\t\t<th data-field=\"grj\">个人缴费金额</th>\n" +
                "\t\t\t\t<th data-field=\"dzqk\">到账情况</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"4\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_yltxxx\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>发放状态</th><td data-value=\"aae116\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-5\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_yltxzf\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇发放信息</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae002\">发放时间</th>\n" +
                "\t\t\t\t<th data-field=\"pay_amount\">发放金额</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyl\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">城乡居民养老保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_cjylxx\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">参保缴费人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号码</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-2\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_cjylzh\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">参保缴费人员年度个人账户信息</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae001\">年度</th>\n" +
                "\t\t\t\t<th data-field=\"leiji\">截至上年末个人<br/>账户累计储存额</th>\n" +
                "\t\t\t\t<th data-field=\"jizhang\">当年记账金额</th>\n" +
                "\t\t\t\t<th data-field=\"dnjzlx\">当年记账利息</th>\n" +
                "\t\t\t\t<th data-field=\"nianMoCunE\">至本年末账户累计储存额</th>\n" +
                "\t\t\t\t<th data-field=\"jiaoFenNianShu\">至本年末实际缴费年数</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-3\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_cjyljf\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">个人缴费信息（近2年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae001\">缴费年度</th>\n" +
                "\t\t\t\t<th data-field=\"bae534\">缴费档次</th>\n" +
                "\t\t\t\t<th data-field=\"GRJ\">个人缴费金额</th>\n" +
                "\t\t\t\t<th data-field=\"CZBT\">政府补贴</th>\n" +
                "\t\t\t\t<th data-field=\"JSBT\">政府代缴</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"4\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_cjyltxxx\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>发放状态</th><td data-value=\"aae116\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-5\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_cjyltxzf\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇发放信息</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae002\">发放年月</th>\n" +
                "\t\t\t\t<th data-field=\"aic263\">待遇发放金额</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-gssy\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">工伤保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_gsjbxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>身份证号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-2\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_gssyxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保缴费单位列表</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aab004\">参保单位</th>\n" +
                "\t\t\t\t<th data-field=\"aac008\">参保状态</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yb\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">基本医疗保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_ybxxcx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>单位名称</th><td data-value=\"aab004\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>人员性质（在职、退休）</th><td data-value=\"aac084\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 5\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-2\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_ybjf\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">个人缴费信息（近2年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"jfny\">缴费年月</th>\n" +
                "\t\t\t\t<th data-field=\"yjfjs\">月缴费基数</th>\n" +
                "\t\t\t\t<th data-field=\"grjfje\">个人缴费金额</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"3\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_ybzh\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">年度个人医保账户（2016年度）</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>当年账户总额</th><td data-value=\"dnzhze\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>历年账户总额</th><td data-value=\"lnzhze\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>当年账户支付累计</th><td data-value=\"bkc101\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>历年账户支付累计</th><td data-value=\"bkc321\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_ybjzxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">个人就诊信息（当年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"ale010\">结算日期</th>\n" +
                "\t\t\t\t<th data-field=\"aka130\">医疗类别</th>\n" +
                "\t\t\t\t<th data-field=\"akb021\">医疗机构名称</th>\n" +
                "\t\t\t\t<th data-field=\"akc264\">总费用</th>\n" +
                "\t\t\t\t<th data-field=\"ybjj\">医保基（资）金支付</th>\n" +
                "\t\t\t\t<th data-field=\"bke082\">现金支付</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-cjyb\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">城乡居民医疗保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_cjybxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-2\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_cjybjf\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">个人缴费信息（近2年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"jfny\">缴费年度</th>\n" +
                "\t\t\t\t<th data-field=\"grjfje\">个人缴费金额</th>\n" +
                "\t\t\t\t<th data-field=\"aae140\">险种</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-3\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_cjybjz\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">个人就诊信息（当年）</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"ake010\">结算日期</th>\n" +
                "\t\t\t\t<th data-field=\"aka130\">医疗类别</th>\n" +
                "\t\t\t\t<th data-field=\"akb021\">医疗机构名称</th>\n" +
                "\t\t\t\t<th data-field=\"akc264\">总费用</th>\n" +
                "\t\t\t\t<th data-field=\"ybjjzf\">医保基（资）金支付</th>\n" +
                "\t\t\t\t<th data-field=\"bke082\">现金支付</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shiye\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">失业保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_syjbxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>参保单位</th><td data-value=\"aab004\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy sbcx-result-region-ct\" data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-shengy\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">生育保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_shengyxx\"  data-extension=\"\">\n" +
                "\t\t\t<caption title=\"\">参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac008\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>参保单位</th><td data-value=\"aab004\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t<div class=\"sbcx-XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl sbcx-result-region-ct\" data-uid=\"XXXLTgyYTktYzhiOGU2YmYzN2Zi-jgyl\" data-appkey=\"XXXLTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "\t<div class=\"sbcx-result-header\">机关事业养老保险</div>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_grjbxx_jg\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">在职参保人员基础信息</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>社会保障号</th><td data-value=\"aac002\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>姓名</th><td data-value=\"aac003\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>参保状态</th><td data-value=\"aac031\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>参保单位</th><td data-value=\"aab004\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"2\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_ylzh_jg\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">基本养老金个人账户缴纳额</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>年度</th><td data-value=\"aae001\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>截止上年末个人账户累计缴纳额</th><td data-value=\"eic001\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>截至上年末累计缴费月数</th><td data-value=\"aic079\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-single sbcx-result-region\" id=\"3\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_ylzh_jg\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">职业年金个人账户缴纳额</caption>\n" +
                "\t\t<tbody>\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>年度</th><td data-value=\"aae001_1\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t<th>截止上年末个人账户累计缴纳额</th><td data-value=\"eic001_1\"></td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t<tr>\n" +
                "\t\t\t\t<th>截至上年末累计缴费月数</th><td data-value=\"aic079_1\"></td>\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\n" +
                "\t\t\t\t\t\t\t<th class=\"sbcx-empty 3\">&nbsp;</th><td class=\"sbcx-empty\">&nbsp;</td>\n" +
                "\t\t\t\t\t</tr>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_yljf_jg\"  data-extension=\"zaizhi\">\n" +
                "\t\t\t<caption title=\"\">个人缴费信息(2年内)</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae002\">缴费年月</th>\n" +
                "\t\t\t\t<th data-field=\"jfjs\">月缴费基数</th>\n" +
                "\t\t\t\t<th data-field=\"gryj\">个人缴费金额</th>\n" +
                "\t\t\t\t<th data-field=\"aae140\">险种</th>\n" +
                "\t\t\t\t<th data-field=\"aae111\">到账情况</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-5\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_yltxxx_jg\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇人员基础信息</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aac002\">社会保障号</th>\n" +
                "\t\t\t\t<th data-field=\"aac003\">姓名</th>\n" +
                "\t\t\t\t<th data-field=\"aae116\">发放状态</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t<table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-6\" data-type=\"collection\" data-dataset=\"sbcx_sheng$sbcx_yltxzf_jg\"  data-extension=\"tuixiu\">\n" +
                "\t\t\t<caption title=\"\">养老金待遇发放信息(2年内)</caption>\n" +
                "\t\t<thead>\n" +
                "\t\t\t<tr>\n" +
                "\t\t\t\t<th data-field=\"aae002\">发放年月</th>\n" +
                "\t\t\t\t<th data-field=\"zfje\">发放金额</th>\n" +
                "\t\t\t</tr>\n" +
                "\t\t</thead>\n" +
                "\t\t<tbody>\n" +
                "\t\t</tbody>\n" +
                "\t</table>\n" +
                "\t\n" +
                "\t</div>\n" +
                "\t\n" +
                "\t\n" +
                "\t\t\n" +
                "\t\n" +
                "    <div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd sbcx-result-region-ct\"\n" +
                "         data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-grqyd\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "        <div class=\"sbcx-result-header\">浙江省社会保险参保证明</div>\n" +
                "        <table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_qydjbxx\">\n" +
                "        </table>\n" +
                "\n" +
                "        <table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\"\n" +
                "               data-dataset=\"sbcx_sheng$sbcx_qydjfxx\">\n" +
                "        </table>\n" +
                "    </div>\n" +
                "    \n" +
                "    <div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb sbcx-result-region-ct\"\n" +
                "         data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yllncb\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "        <div class=\"sbcx-result-header\">浙江省职工基本养老保险历年参保证明</div>\n" +
                "        <table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_yllncbjbxx\">\n" +
                "        </table>\n" +
                "\n" +
                "        <table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\"\n" +
                "               data-dataset=\"sbcx_sheng$sbcx_yllncbjfxx\">\n" +
                "        </table>\n" +
                "    </div>\n" +
                "    \n" +
                "    <div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff sbcx-result-region-ct\"\n" +
                "         data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-yldyff\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "        <div class=\"sbcx-result-header\">浙江省职工养老保险待遇发放证明</div>\n" +
                "        <table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_yldyffjbxx\">\n" +
                "        </table>\n" +
                "\n" +
                "        <table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\"\n" +
                "               data-dataset=\"sbcx_sheng$sbcx_yldyffffjl\">\n" +
                "        </table>\n" +
                "    </div>\n" +
                "    \n" +
                "    <div class=\"sbcx-ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb sbcx-result-region-ct\"\n" +
                "         data-uid=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi-dwcb\" data-appkey=\"ZTA2LTgyYTktYzhiOGU2YmYzN2Zi\">\n" +
                "        <div class=\"sbcx-result-header\">浙江省社会保险参保证明（单位专用）</div>\n" +
                "        <table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"singleCheck\" data-dataset=\"sbcx_sheng$sbcx_dwdyjc\">\n" +
                "        </table>\n" +
                "        <table class=\"sbcx-single sbcx-result-region\" id=\"1\" data-type=\"single\" data-dataset=\"sbcx_sheng$sbcx_dwcbjbxx\">\n" +
                "        </table>\n" +
                "        <table class=\"sbcx-collection sbcx-result-region\" id=\"sbcx-fieldset-4\" data-type=\"collection\"\n" +
                "               data-dataset=\"sbcx_sheng$sbcx_dwcbryxx\">\n" +
                "        </table>\n" +
                "    </div>\n" +
                "<script>\n" +
                "console.info('载入扩展脚本');\n" +
                "$SBCX.ZTA2LTgyYTktYzhiOGU2YmYzN2Zi_zaizhi = function(event, data, parameter, el) {\n" +
                "\t\n" +
                "\t\t\n" +
                "\t\tconsole.info(event, data,parameter,el);\n" +
                "\t\treturn data.dataExt.status == 1;\n" +
                "\t\t\n" +
                "\t\n" +
                "}\n" +
                "</script>\n" +
                "<script>\n" +
                "console.info('载入扩展脚本');\n" +
                "$SBCX.ZTA2LTgyYTktYzhiOGU2YmYzN2Zi_tuixiu = function(event, data, parameter, el) {\n" +
                "\t\n" +
                "\t\t\n" +
                "\t\tconsole.info(event, data,parameter,el);\n" +
                "\t\treturn data.dataExt.status == 1;\n" +
                "\t\t\n" +
                "\t\n" +
                "}\n" +
                "</script>\n" +
                "<script>\n" +
                "console.info('载入扩展脚本');\n" +
                "$SBCX.XXXLTgyYTktYzhiOGU2YmYzN2Zi_zaizhi = function(event, data, parameter, el) {\n" +
                "\t\n" +
                "\t\t\n" +
                "\t\tconsole.info(event, data,parameter,el);\n" +
                "\t\treturn data.dataExt.status == 1;\n" +
                "\t\t\n" +
                "\t\n" +
                "}\n" +
                "</script>\n" +
                "<script>\n" +
                "console.info('载入扩展脚本');\n" +
                "$SBCX.XXXLTgyYTktYzhiOGU2YmYzN2Zi_tuixiu = function(event, data, parameter, el) {\n" +
                "\t\n" +
                "\t\t\n" +
                "\t\tconsole.info(event, data,parameter,el);\n" +
                "\t\treturn data.dataExt.status == 1;\n" +
                "\t\t\n" +
                "\t\n" +
                "}\n" +
                "</script>\n" +
                "\n" +
                "</div>";
        JSONArray jsonArray = new JSONArray();

        Document parse = Jsoup.parse(str);
        parse.select(".sbcx-result > div").forEach(div -> {
            JSONObject jsonObject = new JSONObject();
            String key = div.attr("data-appkey").toString().trim();
            String title = div.select(".sbcx-result-header").text().trim();
            List tables = div.select("table").eachAttr("data-dataset");
            jsonObject.put("key", key);
            jsonObject.put("title", title);
            jsonObject.put("tables", tables);
            jsonArray.add(jsonObject);
        });
        System.out.println(jsonArray.toJSONString());
        System.out.println("ok");
    }
}
